package com.xms.schema.service.attribute;

import com.xms.core.exception.XmsException;
import com.xms.dependency.XmsDependencyException;
import com.xms.dependency.service.IDependentLookup;
import com.xms.schema.entity.Attribute;

import java.sql.SQLException;
import java.util.UUID;

/**
 * <p>
 * IAttributeDependency
 * </p>
 *
 * @author migo
 * @since 2021/10/24
 */
public interface IAttributeDependency extends IDependentLookup {
    boolean create(Attribute entity) throws XmsException, SQLException;

    boolean delete(UUID... id) throws SQLException, XmsDependencyException;

    boolean update(Attribute entity) throws XmsException, SQLException;
}
